package com.project.restaurant.user.service;

import com.project.restaurant.common.api.ServiceReturn;
import com.project.restaurant.user.dto.UpdateUserInfoParam;
import com.project.restaurant.user.vo.UserPublicInfoVo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpSession;
import java.io.IOException;

/**
 * @BelongsProject: restaurant
 * @BelongsPackage: com.project.restaurant.user.service
 * @Author: hanhan
 * @CreateTime: 2022-10-20  08:56
 * @Description: TODO
 * @Version: 1.0
 */
public interface UserInfoService {

    String updateAvatar(HttpSession session,MultipartFile avatar) throws Exception;

    UserPublicInfoVo updateInfo(UpdateUserInfoParam updateInfo);
}
